<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="http://221.0.77.189:50/arcgis_js_api/library/3.14/esri/css/esri.css" />
    <script type="text/javascript">
        dojoConfig = {
            parseOnLoad:true,
            packages:[{
                name:"custom",
                location:"custom"
            }]
        };
    </script>
    <script src="http://221.0.77.189:50/arcgis_js_api/library/3.14/init.js"></script>
</head>
<body>
    <div id="map" style="width: 900px; height: 800px;">
    </div>
</body>
<script src="jquery.min.js"></script>
<script>
    require([ "esri/map", "esri/layers/MapImageLayer","esri/layers/MapImage",'esri/geometry/Extent',"esri/SpatialReference", "esri/layers/FeatureLayer","esri/layers/ArcGISDynamicMapServiceLayer"], function (Map,MapImageLayer,MapImage,Extent,SpatialReference,FeatureLayer,ArcGISDynamicMapServiceLayer) {

        var map = new Map("map", {
            center: [120.429, 37.354],
            zoom: 10,
            logo: false
        });

        var quhua = new ArcGISDynamicMapServiceLayer("http://172.19.66.55:6080/arcgis/rest/services/ZYQUHUA/MapServer",{
            useMapImage : true,
        });
        map.addLayer(quhua);

        $.post("http://221.0.77.189:6080/arcgis/rest/services/COUNTYROAD/MapServer/exts/WherePoint/WherePoint?x=13400235.409659432&y=4474561.842690187&f=json",{},function(result){
            console.log(result)
        });

    })
</script>
</html>